package com.open.demo;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * @Author: hailong.qiu hailong.qiu@xgimi.com
 * @Maintainer: hailong.qiu hailong.qiu@xgimi.com
 * @Date: 2021/10/8
 * @Copyright: 2021 www.xgimi.com Inc. All rights reserved.
 */
public class BootBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        String data = intent.getStringExtra("packName");
        Log.d("BootBroadcastReceiver", "kotlin demo onReceive action:" + action + " data:" + data);
    }

}
